package com.hnevc.foodserver.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value = "PageVo", description = "分页查询视图接口类")
public class PageVo {
    @ApiModelProperty(value = "页码从0开始")
    private Integer pageIndex;
    @ApiModelProperty(value = "每页记录条数")
    private Integer pageSize;

    public PageVo() {
    }

    @Override
    public String toString() {
        return "PageVo{" +
                "pageIndex=" + pageIndex +
                ", pageSize=" + pageSize +
                '}';
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
